package cn.tuling.listener;

import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class ApplicationReadyEventListener {

    @EventListener(ApplicationReadyEvent.class)
    public void test(ApplicationReadyEvent event){
        System.out.println("ApplicationReadyEvent 监听器");
    }
}
